package com.zrgk.bean;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * 角色对象
 * @author hzy
 *
 */
public class RoleBean implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private int id;//角色id
	private String number;//角色编号
	private String name;//角色姓名
	private int state;//状态 1可用 2不可用
	private DeptBean dept;//所属部门
	private String remark;//备注
	private Date createDate;//创建时间
	private Date lastDate;//最后操作时间
	private EmpBean createEmp;//创建人
	private int isDelete;//是否删除 1删除 2不删除
	private List<MenuBean> menus;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public DeptBean getDept() {
		return dept;
	}
	public void setDept(DeptBean dept) {
		this.dept = dept;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getLastDate() {
		return lastDate;
	}
	public void setLastdate(Date lastDate) {
		this.lastDate = lastDate;
	}
	public EmpBean getCreateEmp() {
		return createEmp;
	}
	public void setCreateEmp(EmpBean createEmp) {
		this.createEmp = createEmp;
	}
	public int getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}
	public List<MenuBean> getMenus() {
		return menus;
	}
	public void setMenus(List<MenuBean> menus) {
		this.menus = menus;
	}
	
	public String toString() {
		return "RoleBean [id=" + id + ", number=" + number + ", name=" + name
				+ ", state=" + state + ", dept=" + dept + ", remark=" + remark
				+ ", createDate=" + createDate + ", lastdate=" + lastDate
				+ ", createEmp=" + createEmp + ", isDelete=" + isDelete
				+ ", menus=" + menus + "]";
	}
	
}
